package User;

import Book.BookList;
import Operations.Ioperation;

public abstract class User {
    protected String name;
    protected Ioperation[] ioperations;

    public User(String name) {
        this.name = name;
    }

    public abstract int meau();

    public void doOperation(int choice, BookList bookList) {
        ioperations[choice].work(bookList);
    }
}
